package com.team.recruitment_management_system.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.team.recruitment_management_system.pojo.entity.EducationExperience;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@Schema(description = "简历信息返回类")
public class ResumeVo {
    /**
     * 简历ID
     */
    @Schema(description = "简历ID")
    private Integer id;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Integer userId;

    /**
     * 真实姓名
     */
    @Schema(description = "真实姓名")
    private String realname;

    /**
     * 性别(1男，2女）
     */
    @Schema(description = "性别(1男，2女）")
    private Integer gender;

    /**
     * 出生日期
     */
    @Schema(description = "出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date birthdate;

    /**
     * 当前所在城市
     */
    @Schema(description = "当前所在城市")
    private String currentCity;

    /**
     * 电子邮箱
     */
    @Schema(description = "电子邮箱")
    private String email;

    /**
     * 手机号码
     */
    @Schema(description = "手机号码")
    private String phone;

    /**
     * 状态(1正在找工作 ，2考虑机会，3暂不考虑)
     */
    @Schema(description = "状态(1正在找工作 ，2考虑机会，3暂不考虑)")
    private Integer status;

    /**
     * 个人优势
     */
    @Schema(description = "个人优势")
    private String advantage;

    /**
     * 工作经历
     */
    @Schema(description = "工作经历")
    private String workExperience;

    /**
     * 项目经历
     */
    @Schema(description = "项目经历")
    private String projectExperience;

    @Schema(description = "求职期望")
    private List<ExpectVo> expects;

    @Schema(description = "教育经历")
    private List<EducationExperience> educationExperiences;
}
